﻿namespace instamuz.Infrastructure
{
    using Application.Services;
    using Application.Services.Impl;
    using Castle.MicroKernel.Registration;
    using Castle.MicroKernel.SubSystems.Configuration;
    using Castle.Windsor;

    public class WindsorInstaller : IWindsorInstaller
    {
        public void Install(IWindsorContainer container, IConfigurationStore store)
        {
            container.Register(
                Component.For<IAuthenticationService>().ImplementedBy<AuthenticationService>(),
                Component.For<IContextAccountProvider>().ImplementedBy<ContextAccountProvider>());
        }
    }
}